<template>
    <div class="box">
        <img :src="info.imageUrl" alt="" />
    </div>
</template>

<script>
    import { getDetail } from "@/api/monthCash";

    export default {
        data() {
            return {
                info: {},
            };
        },
        async created() {
            let info = await getDetail({ id: 1 });
            if (!this.$_.isEmpty(info)) {
                this.info = info;
            }
        },
        async mounted() {},
        methods: {},
    };
</script>

<style lang="scss" scoped>
    .box {
        width: 100%;
        padding: 10px;
        box-sizing: border-box;
        img {
            width: 100%;
            object-fit: contain;
        }
    }
</style>
